<?php

	$productId = $_GET['productId'];
	$units = $_GET['units'];

	session_start()	;
	
	if (!isset($_SESSION["products"])) {
		$_SESSION["products"] = array();
	}
	
	$_SESSION["products"][$productId]['units'] = $units;
	$_SESSION["products"][$productId]['service'] = 1;
	
	
	echo "Produit ajoute au panier";

?>
